package com.soft.javase.ch03.test01;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/20
 * /*
 * 1).Employee类有姓名，薪资属性
 * 2).EmployeeUtil 工具类中，有涨工资bonus(Employee e)的方法（要求方法静态）；
 * 若获得到的薪资>10000，则涨薪水20%，否则涨薪10%。
 * */

public class Employee {
    private String name;
    private double salary;

    public Employee(String name, double salary) {
        this.name = name;
        this.salary = salary;
    }

    public String getName() {
        return name;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }
}